POST
/
consumers
/
{consumer_id}
/
accounting
/
journal
/
entries

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Query Parameters

folder_id
string

Accounting folder ID, this needs to be passed when activating the multiple folders feature.

Body

application/json
date
string
required
items
object[]
required
journal_id
string
required
name
string
required
due_date
string
pdf
string

Base 64 string representing the PDF attached to the item.

reference
string

Response

200 - application/json
id
string
required
journal_id
string
required
journal_name
string
required
date
string
default:
1970-01-01

Accounting date of the journal entry. It is automatically set to '1970-01-01' if the value is not available/empty in the accounting system.

due_date
string
items
object[]
name
string
posted
boolean
default:
false
reference
string